<template>
    <div class="student">
        <h2>学校名称：{{name}}</h2>
        <h2>学校地址：{{address}}</h2>
        <hr>
    </div>
</template>

<script>
    export default {
        name: 'Student',
        data() {
            return {
                name: '尚硅谷',
                address: '北京市昌平区'
            }
        },
    }
</script>

<style>
    .student {
        background-color: gray;
    }
</style>